import { ApiProperty } from "@nestjs/swagger"

export class ForgotPassDto {
  @ApiProperty({ description: '', required: true, default: '' })
  readonly account: string

  @ApiProperty({ description: '账号类型：1邮箱 2手机号', required: true, default: '' })
  readonly type: number

  @ApiProperty({ description: '', required: true, default: '' })
  readonly newPass: string

  @ApiProperty({ description: '', required: true, default: '' })
  readonly code: string
}